/**
 * Created by leiweibo on 7/23/15.
 */
var app = angular.module('marketservice', []);

app.factory('MarketService', function($http, BaseService) {
  return {
    create: function(data, success, error) {
      $http.post(BaseService.baseUrl + '/market/create', data).success(success).error(error);
    }
  }
});
